
/**   
 * @Title: MenuService.java 
 * @Package com.neusoft.neumooc.service 
 * @Description: TODO 
 * @author acer   
 * @date 2016年10月28日 上午8:21:06 
*/

package com.neusoft.neumooc.service;
import java.util.List;
import com.neusoft.core.common.exception.ServiceException;
import com.neusoft.neumooc.VO.MenuVO;
/** 
 * @ClassName: MenuService 
 * @Description: TODO 
 * @author Fuyongjun
 * @date 2016年10月28日
 */
public interface MenuService {
	/** 
	 * @Title: queryMenuDao()
	 * @Description: 查找菜单总数
	 * @param 
	 * @return
	 * @throws ServiceException
	 */
	public int  queryMenuCount() throws ServiceException; 
	/** 
	 * @Title:List<MenuVO> getMenus
	 * @Description: 查找菜单列表
	 * @param 
	 * @return
	 * @throws ServiceException
	 */
	public List<MenuVO> getMenus(int pageNo, int pageSize)throws ServiceException;
	/** 
	 * @Title:addMenu
	 * @Description: 添加菜单
	 * @param 
	 * @return
	 * @throws ServiceException
	 */
	public void addMenu(MenuVO menuVo) throws ServiceException;
	/** 
	 * @Title:deleteMenu
	 * @Description: 删除菜单
	 * @param 
	 * @return
	 * @throws ServiceException
	 */
	public int deleteMenu(String id) throws ServiceException;	
	/** 
	 * @Title:EditMenu
	 * @Description: 编辑菜单信息
	 * @param 
	 * @return
	 * @throws ServiceException
	 */
	public MenuVO menuInfo(String id) throws ServiceException;		
	/** 
	 * @Title:UpdateMenu
	 * @Description: 更新菜单信息
	 * @param 
	 * @return
	 * @throws ServiceException
	 */
	public void updateMenu(MenuVO menuVO) throws ServiceException;
	/** 
	 * @Title: getMenuList 
	 * @Description: TODO 获得菜单列表
	 * @return
	 * @throws ServiceException
	 */
	public List<MenuVO> getMenuList() throws ServiceException;
	/** 
	 * @Title: checkRepeat 
	 * @Description: TODO 
	 * @param setName
	 * @return
	 */
	public boolean checkRepeat(String  name)throws ServiceException;
}
